// 数字枚举
enum Week {
    Monday = 1,
    Tuesday,
    Wednesday,
    TheirsDay,
    Friday,
    Saturday,
    Sunday
}

console.log(Week['Monday'])
console.log(Week[2])